package org.zk.service.impl;

import org.zk.dao.CommentsMapper;
import org.zk.entity.Comments;
import org.zk.service.CommentsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommentsServiceImpl implements CommentsService {

    @Autowired
    private CommentsMapper commentsMapper;

    @Override
    public Integer addComments(Comments com) {
        return commentsMapper.insertComments(com);
    }
}
